package com.mida.bms.report.mapper;

import com.mida.bms.report.entity.DocUseSpaceConsumer;
import com.mida.bms.report.vo.DocUseSpaceConsumerVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DocUseSpaceConsumerMapper {
    int deleteByPrimaryKey(Long spaceConsumerSoid);

    int insert(DocUseSpaceConsumer record);

    int insertSelective(DocUseSpaceConsumer record);

    DocUseSpaceConsumer selectByPrimaryKey(Long spaceConsumerSoid);

    int updateByPrimaryKeySelective(DocUseSpaceConsumer record);

    int updateByPrimaryKey(DocUseSpaceConsumer record);

    void deleteBySpSoid(Long stTempAuthSpSoid);

    void updateStatusByAuthSpSoid(@Param("status") Long status, @Param("stTempAuthSpSoid") Long stTempAuthSpSoid);

    List<DocUseSpaceConsumerVo> findAuthSpSoid(Long stTempAuthSpSoid);
}